package com.dy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("speci")
@ApiModel(value="Speci对象", description="")
public class Speci implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "连接")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "数量")
    @TableField("age")
    private Integer age;

    @ApiModelProperty(value = "规格")
    @TableField("specification")
    private String specification;

    @ApiModelProperty(value = "规格关联id")
    @TableField("gid")
    private Integer gid;

    @ApiModelProperty(value = "价格")
    @TableField("price")
    private BigDecimal price;

}
